﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;
using System.Collections.ObjectModel;

namespace ChooseGameGrade
{
    public class ChooseGameGradeViewModel : INotifyPropertyChanged
    {
        public ChooseGameGradeViewModel()
        {
            this.ItemOneCollection = new ObservableCollection<ChooseGameGradeModelOne>();
            this.ItemTwoCollection = new ObservableCollection<ChooseGameGradeModelTwo>();
        }

        /// <summary>
        /// A collection for ItemViewModel objects.
        /// </summary>
        public ObservableCollection<ChooseGameGradeModelOne> ItemOneCollection { get; private set; }

        /// <summary>
        /// A collection for ItemViewModel objects.
        /// </summary>
        public ObservableCollection<ChooseGameGradeModelTwo> ItemTwoCollection { get; private set; }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}
